﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Entities;
using Model.ViewModels;

namespace Model.RepositoryInterfaces
{
    public interface IIntervalRepository
    {
        void Create(Interval interval);

        Interval Read(int id);

        IList<IntervalVm> ReadAllByCategory(IntervalCategory category);
    }
}
